<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page isELIgnored="false" %>
<%@ include file="/WEB-INF/views/common/includes.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title><fmt:message key="event.website.title"/></title>
		<link href="<c:url value='/static/css/estilo_efqm.css'/>" rel="stylesheet" type="text/css" />
		<link href="<c:url value='/static/css/acordion.css'/>" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<c:url value='/static/js/google_analytics_inc.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/static/js/swfobject.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/static/js/jquery-1.4.min.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/static/js/ddaccordion.js'/>"></script>
		
		
		
	</head>
	<body id="efqm">
	
	<div id="global" class="fondo_practices">
		
		<%@ include file="/WEB-INF/views/common/header.jsp" %>
		
		<div id="efqm_content"> 
			<h3 class="upload_practices">
				<fmt:message key="event.website.target"/>
			</h3>	
			<div id="conten_central">
				<div class="columna_left">
						<h4><fmt:message key="company.detail.title"/></h4>
						
				</div>
				
				<div class="conten_right">
				<p><fmt:message key="company.data.last.update"/>: ${company.formattedUpdatedDate}</p>
				<br/><h5>${company.companyInfo.name}</h5>
				<h6>${company.additionalInformation.title}</h6>
				
				
				</div>
				<div class="conten_gen_central">
					<div class="glossymenu">
						<a class="menuitem submenuheader" href="#" >
							<fmt:message key="company.detail.fragment.data.title"/>
						</a>
						<div class="submenu">
							<ul>
								<li><fmt:message key="company.data.name"/>:<span>${company.companyInfo.name}</span></li>
								<li><fmt:message key="company.data.street"/>:<span>${company.companyInfo.street}</span></li>
								<li><fmt:message key="company.data.zip"/>:<span>${company.companyInfo.zip}</span></li>
								<li><fmt:message key="company.data.city"/>:<span>${company.companyInfo.city}</span></li>
								<li><fmt:message key="company.data.country"/>:<span>${company.companyInfo.country}</span></li>
								<li><fmt:message key="company.data.telephone"/>: <span>${company.companyInfo.telephone}</span></li>
								<li><fmt:message key="company.data.contact.email"/>: <span>${company.companyInfo.email}</span></li>
								<li><fmt:message key="company.data.contact.person"/>: <span>${company.companyInfo.contactPerson}</span></li>
								<li><fmt:message key="company.data.activity.sector"/>:
								<c:forEach items="${sicCodes}" var="sicCode">            			
              						<c:if test="${company.companyInfo.sicCode == sicCode.code}">
              					 		<span><fmt:message key="${sicCode.descriptionCode}"/></span>
              						</c:if>
              					</c:forEach>
								</li>
							</ul>
						</div>
						<a class="menuitem" href="#" style="cursor:text;">
							<fmt:message key="company.detail.fragment.video.title"/>
						</a>
						
							<c:if test="${!empty company.videos}">
						<c:set var="video" value="${company.videos[0]}"/>
						
						<div class="subcontent">
						
						
						<div id="ytapiplayer" >
    						<fmt:message key="flashplayer.advice"/>
    						
  						</div>
  						
  						</div>
						<script type="text/javascript">
    						var params = { allowFullScreen : "true" , allowScriptAccess: "always" , wmode : "transparent" };
    						var atts = { id: "myytplayer" , allowfullscreen : "true"};
    						swfobject.embedSWF("http://www.youtube.com/v/${video.youTubeId}&enablejsapi=0&playerapiid=ytplayer&egm=0&fs=1&rel=0&color1=0xe1600f&color2=0xfebd01&border=1", 
                       			"ytapiplayer", "425", "344", "8", null, null, params, atts);
				  		</script>
					</c:if>
					
					
						<a class="menuitem submenuheader" href="#">
							<fmt:message key="company.detail.fragment.goodpractice.title"/>
						</a>
						<div class="submenu">
								<ul>
								<li><fmt:message key="goodpractice.data.title"/>:<span>${company.additionalInformation.title}</span></li>
								<li><fmt:message key="goodpractice.data.description"/>: <span>${company.additionalInformation.information}</span></li>
								<li><fmt:message key="goodpractice.data.project.summary"/>:<a href="<c:url value='/company/download-summary/${company.id}'/>" title='<fmt:message key="action.company.goodpractice.summary.download"/>' >
										<fmt:message key="action.company.goodpractice.summary.download"/>
								</a></li>
								<li><fmt:message key="action.filter.innovation.type"/>:
									<ul>
										<c:forEach items="${types}" var="type">														
											<c:forEach items="${company.additionalInformation.innovationTypeCodes}" var="typeCode">
												<c:if test="${typeCode == type.code}">
													<li><fmt:message key="${type.titleCode}"/></li>
												</c:if>
											</c:forEach>
              							</c:forEach>
									</ul>
								</li>
							</ul>
					</div>
								
</div>
					
				</div>
			</div>
			</div>
		<%@ include file="/WEB-INF/views/common/footer.jsp" %>
	</div>
	</body>
</html>
